<html>
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>
<body>
<form method="post" action="{{url('Admin/links')}}" style="padding-left: 20px;border: 1px">
    {{csrf_field()}}
    <div style="background-color: #2ca02c">
        @if(count($errors)>0)
            @if(is_object($errors))
                @foreach($errors->all() as $error)
                    <p>{{$error }}</p>
                @endforeach
            @else
                {{$errors}}
            @endif

        @endif
    </div>
    <table style="">
        <tr>
            <th> <i class="required">*</i>  排序</th>
            <td><input type="text" name="link_order"/><br/></td>
        </tr>
        <tr>
            <th>
                <i>*</i>链接名称:
            </th>
            <td> <input type="text" name="link_name"/></td>
        </tr>
        <tr>
            <th>
                链接标题：
            </th>

            <td> <input type="text" name="link_title" /><br/></td>
        </tr>
        <tr>
            <th>
                链接地址:
            </th>
            <td> <textarea name="link_url" value="http://"></textarea><br/></td>
        </tr>

        <tr>
            <td>
                <input type="submit" value="确定添加"/>
                <input type="reset" value="返回"/>

            </td>
        </tr>

    </table>
</form>
</body>
</html>